//
//  FirstPageCollectionCell.m
//  华康通
//
//  Created by leiyu on 15/9/21.
//  Copyright © 2015年 华康集团. All rights reserved.
//

#import "FirstPageCollectionCell.h"

@implementation FirstPageCollectionCell

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame])
    {
        self.contentView.backgroundColor = FFFFFFColor;
        self.myImageView = [[UIImageView alloc]initWithFrame:CGRectMake((frame.size.width - ((frame.size.height - 26) * 126 /40))/2, 13, (frame.size.height - 26) * 126 /40, frame.size.height - 26)];
        [self.contentView addSubview:self.myImageView];
//        self.textlabel = [[UILabel alloc]initWithFrame:CGRectMake(0, frame.size.width-50, frame.size.width, 30)];
//        self.textlabel.font = [UIFont systemFontOfSize:15];
//        self.textlabel.textColor = [UIColor grayColor];
//        self.textlabel.textAlignment = NSTextAlignmentCenter;
//        [self.contentView addSubview:self.textlabel];
//        self.backgroundColor = [UIColor colorWithRed:243.0/255.0 green:243.0/255.0 blue:243.0/255.0 alpha:1.0];
//        self.myButton = [UIButton buttonWithType:UIButtonTypeSystem];
//        self.myButton.frame = CGRectMake(0, 0, frame.size.width, frame.size.height);
//        [self.myButton setTitle:@"" forState:UIControlStateNormal];
//        [self.myButton setBackgroundColor:ClEARColor];
//        [self.contentView addSubview:self.myButton];
    }
    return self;
}
@end
